package com.pda.gongpin.adapter;

import androidx.annotation.Nullable;

import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.pda.gongpin.R;
import com.pda.gongpin.bean.SkuBean;
import com.wangshen.base.ui.mvp.base.adapter.BaseAdapter;


import java.util.List;

public class SelectAdapter extends BaseAdapter<SkuBean> {
    public SelectAdapter(int layoutResId, @Nullable List<SkuBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, SkuBean item) {
        super.convert(helper, item);
        helper.setText(R.id.tv_title,item.getShowStr());
    }
}
